package com.codeman.business.book.domain;

import java.util.List;
import com.codeman.common.annotation.Excel;
import com.codeman.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 小说评论对象 book_comment
 * 
 * @author codeman
 * @date 2021-03-19
 */
public class BookComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 小说ID */
    @Excel(name = "小说ID")
    private Long bookId;

    /** 评价内容 */
    @Excel(name = "评价内容")
    private String commentContent;

    /** 回复数量 */
    @Excel(name = "回复数量")
    private Long replyCount;

    /** 审核状态，0：待审核，1：审核通过，2：审核不通过 */
    @Excel(name = "审核状态，0：待审核，1：审核通过，2：审核不通过")
    private String auditStatus;

    /** 小说评论回复信息 */
    private List<BookCommentReply> bookCommentReplyList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBookId(Long bookId) 
    {
        this.bookId = bookId;
    }

    public Long getBookId() 
    {
        return bookId;
    }
    public void setCommentContent(String commentContent) 
    {
        this.commentContent = commentContent;
    }

    public String getCommentContent() 
    {
        return commentContent;
    }
    public void setReplyCount(Long replyCount) 
    {
        this.replyCount = replyCount;
    }

    public Long getReplyCount() 
    {
        return replyCount;
    }
    public void setAuditStatus(String auditStatus) 
    {
        this.auditStatus = auditStatus;
    }

    public String getAuditStatus() 
    {
        return auditStatus;
    }

    public List<BookCommentReply> getBookCommentReplyList()
    {
        return bookCommentReplyList;
    }

    public void setBookCommentReplyList(List<BookCommentReply> bookCommentReplyList)
    {
        this.bookCommentReplyList = bookCommentReplyList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bookId", getBookId())
            .append("commentContent", getCommentContent())
            .append("replyCount", getReplyCount())
            .append("auditStatus", getAuditStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("bookCommentReplyList", getBookCommentReplyList())
            .toString();
    }
}
